package Chapter2.Comparing.c2;

public class TestSingle {
    public static void main(String args[]) {
        Single  s1 = Single.getSingle();      //访问静态方法
        Single  s2 = Single.getSingle();
        if (s1==s2){
            System.out.println("s1 is equals to s2!");
        }
    }

}
